﻿//+------------------------------------------------------------------+
//|                                             MetaTrader 5 Web API |
//|                   Copyright 2001-2015, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
namespace MetaQuotes.MT5WebAPI.Common
  {
  /// <summary>
  /// Common config
  /// </summary>
  public class MTConCommon
    {
    /// <summary>
    /// server name
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// owner full name (from license)
    /// </summary>
    public string Owner { get; set; }
    /// <summary>
    /// owner short name (from license)
    /// </summary>
    public string OwnerID { get; set; }
    /// <summary>
    /// owner host (from license)
    /// </summary>
    public string OwnerHost { get; set; }
    /// <summary>
    /// owner email (from license)
    /// </summary>
    public string OwnerEmail { get; set; }
    /// <summary>
    /// product full name (from license)
    /// </summary>
    public string Product { get; set; }
    /// <summary>
    /// license expiration date
    /// </summary>
    public int ExpirationLicense { get; set; }
    /// <summary>
    /// license support date
    /// </summary>
    public int ExpirationSupport { get; set; }
    /// <summary>
    /// max. trade servers count (from license)
    /// </summary>
    public int LimitTradeServers { get; set; }
    /// <summary>
    /// max. web servers count (from license)
    /// </summary>
    public int LimitWebServers { get; set; }
    /// <summary>
    /// max. real accounts count (from license)
    /// </summary>
    public int LimitAccounts { get; set; }
    /// <summary>
    /// max. trade deals count (from license)
    /// </summary>
    public int LimitDeals { get; set; }
    /// <summary>
    /// max. client groups count (from license)
    /// </summary>
    public int LimitGroups { get; set; }
    /// <summary>
    /// LiveUpdate mode
    /// </summary>
    public int LiveUpdateMode { get; set; }
    }
  }
